#
# Source files
#
# Here is where you can add the name of your local imaging classes.
#

SET (Graphics_SRCS
   vtkEllipseSource.cxx
)

# --------------------------------------------------------------------------
# You probably do not need to modify anything below this line

# Create the vtk4307Widgets C++ library
ADD_LIBRARY (vtk4307Graphics ${Graphics_SRCS})
TARGET_LINK_LIBRARIES(vtk4307Graphics vtkRendering vtkGraphics)

# Create the vtk4307Graphics Tcl library
IF (VTK_WRAP_TCL AND VTK4307_WRAP_TCL)
  VTK_WRAP_TCL3 (vtk4307GraphicsTCL GraphicsTCL_SRCS
  "${Graphics_SRCS}" "")
  ADD_LIBRARY (vtk4307GraphicsTCL ${GraphicsTCL_SRCS})
  TARGET_LINK_LIBRARIES (vtk4307GraphicsTCL vtkFilteringTCL vtkGraphicsTCL vtk4307Graphics)
ENDIF (VTK_WRAP_TCL AND VTK4307_WRAP_TCL)

# Create the vtk4307Graphics Python library.
IF (VTK_WRAP_PYTHON AND VTK4307_WRAP_PYTHON)
  INCLUDE_DIRECTORIES("${VTK_PYTHON_INCLUDE_DIR}")
  VTK_WRAP_PYTHON3 (vtk4307GraphicsPython GraphicsPython_SRCS "${Graphics_SRCS}")
  ADD_LIBRARY (vtk4307GraphicsPythonD ${GraphicsPython_SRCS})
  ADD_LIBRARY (vtk4307GraphicsPython MODULE
  vtk4307GraphicsPythonInit.cxx)
  TARGET_LINK_LIBRARIES (vtk4307GraphicsPython vtk4307GraphicsPythonD)
  TARGET_LINK_LIBRARIES (vtk4307GraphicsPythonD
			             vtkRenderingPythonD
                         vtkGraphicsPythonD 
                         vtk4307Graphics)
  # Python extension modules on Windows must have the extension ".pyd"
  # instead of ".dll" as of Python 2.5.  Older python versions do support
  # this suffix.
  IF(WIN32 AND NOT CYGWIN)
    SET_TARGET_PROPERTIES(vtk4307GraphicsPython PROPERTIES SUFFIX ".pyd")
  ENDIF(WIN32 AND NOT CYGWIN)
ENDIF (VTK_WRAP_PYTHON AND VTK4307_WRAP_PYTHON)

# Create the vtk4307Graphics Java library.
IF (VTK_WRAP_JAVA AND VTK4307_WRAP_JAVA)
  VTK_WRAP_JAVA3 (vtk4307GraphicsJava ImagingJava_SRCS "${Graphics_SRCS}")
  ADD_LIBRARY (vtk4307GraphicsJava SHARED ${Graphicsava_SRCS})
  TARGET_LINK_LIBRARIES (vtk4307GraphicsJava vtk4307Graphics)
ENDIF (VTK_WRAP_JAVA AND VTK4307_WRAP_JAVA)
